-- GENERATED SPELL FOR [Snowblind Harpy] --


function spell0_10986(pUnit, Event) --@Deafening Screech,n/a--
pUnit:FullCastSpellOnTarget(3589,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10986', 8319, 1)
end

function Sorts_10986(pUnit, Event)
local choix_sorts_10986 = math.random(0, 0)
if choix_sorts_10986 == 0 then
pUnit:RegisterEvent('spell0_10986', 1, 1)
end
end

function mob10986_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10986', math.random(1500, 3000), 1)
end

function mob10986_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10986_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10986_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10986, 1, 'mob10986_Action')
RegisterUnitEvent(10986, 2, 'mob10986_Leave')
RegisterUnitEvent(10986, 3, 'mob10986_Kill')
RegisterUnitEvent(10986, 4, 'mob10986_Die')
